<template>
    <a :href="'#' + props.to">
        <slot />
    </a>
</template>

<script setup name="router-link">
let props = defineProps({
    to: { type: String, required: true }
})
</script>
